using System;
using System.Collections.Generic;
using System.Text;

namespace FluentInterfaceDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            //Standard Example
            IConfiguration config1 = new Configuration();
            config1.SetColor("blue");
            config1.SetHeight(1);
            config1.SetLength(2);
            config1.SetDepth(3);

            //FluentExample
            IConfigurationFluent config2 =
                  new ConfigurationFluent().SetColor("blue")
                                           .SetHeight(1)
                                           .SetLength(2)
                                           .SetDepth(3);

            Console.WriteLine(config1);
            Console.WriteLine();
            Console.WriteLine(config2);
            Console.Read();
        }
    }
}
